package com.sc.everyonerentboot.pojo;

import java.io.Serializable;
import java.util.Date;

public class HeadsetParameters extends AbstractParameter implements Serializable {
    private String id;

    private String headsetType;

    private String model;

    private Integer waterproof;

    private Date releaseDate;
    private String Type;

    public String getType() {
        return Type;
    }

    public void setType(String type) {
        Type = type;
    }

    private static final long serialVersionUID = 1L;

    public HeadsetParameters() {

    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getHeadsetType() {
        return headsetType;
    }

    public void setHeadsetType(String headsetType) {
        this.headsetType = headsetType == null ? null : headsetType.trim();
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model == null ? null : model.trim();
    }

    public Integer getWaterproof() {
        return waterproof;
    }

    public void setWaterproof(Integer waterproof) {
        this.waterproof = waterproof;
    }

    public Date getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(Date releaseDate) {
        this.releaseDate = releaseDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", headsetType=").append(headsetType);
        sb.append(", model=").append(model);
        sb.append(", waterproof=").append(waterproof);
        sb.append(", releaseDate=").append(releaseDate);
        sb.append("]");
        return sb.toString();
    }

    public HeadsetParameters(String id, String headsetType, String model, Integer waterproof, Date releaseDate) {
        this.id = id;
        this.headsetType = headsetType;
        this.model = model;
        this.waterproof = waterproof;
        this.releaseDate = releaseDate;
    }
}